/*------------------------------------------------------------------------------------------------\
| Horrible X-Wing game by Steven Haber
| st_haber@hotmail.com
|
| score.h: Contains the score class which tracks and displays the score for the players.
\------------------------------------------------------------------------------------------------*/

#ifndef SCORE_H
#define SCORE_H

#include "xwing.h"

class Score
{
public:
	Score(sf::RenderWindow *out, int posX);
	void addToScore(int value);
	void drawScore();
	void setLeft(int left);
	int getWidth();

private:
	int mScore;
	sf::String mScoreString;
	sf::RenderWindow *mOut;
	sf::Rect<float> *mRect;
};

#endif